package controllers;

import models.Area_loc;
import play.mvc.Controller;
import play.mvc.With;
@With(Secure.class)
public class Area_locs extends Controller{
	
	public static void Add(String code, String desc)
	{
		Area_loc a = new Area_loc(code, desc);
		a.save();
	
	}
	
	public static void editPage(Long id)
	{
		Area_loc area = Area_loc.findById(id);
		render(area);
	
	}
	public static void delete(Long id)
	{
		Area_loc area = Area_loc.findById(id);
		
	
	}
	
	

}
